翻訳と辞書
Words near each other
・ Front 242
・ Front 242 discography
・ Front aerial
・ Front Algérie Française
・ Front and back
・ Front and back ends
・ Front and back office application
・ Front and Centre
・ Front Back
・ Front bench (Ireland)
・ Front Burner Brands
・ Front by Front
・ Front Centre, Nova Scotia
・ Front commun des personnes assistées sociales du Québec
・ Front Comtois
Front Controller pattern
・ Front Country Ranger District
・ Front crawl
・ Front curtain
・ Front d'action politique
・ Front de l'Indépendance
・ Front de la Jeunesse
・ Front de la Jeunesse (Belgium)
・ Front de Libération de la Côte des Somalis
・ Front de libération du Québec
・ Front de Libération Nationale
・ Front de Seine
・ Front Deutscher Äpfel
・ Front end
・ Front end development


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Front Controller pattern : ウィキペディア英語版
Front Controller pattern
The Front Controller pattern is a software design pattern listed in several pattern catalogs. The pattern relates to the design of web applications. It "provides a centralized entry point for handling requests."〔Alur et al., p. 166.〕
Front controllers are often used in web applications to implement workflows. While not strictly required, it is much easier to control navigation across a set of related pages (for instance, multiple pages used in an online purchase) from a front controller than it is to make the individual pages responsible for navigation.
The front controller may be implemented as a Java object, or as a script in a script language like PHP, Python or Ruby that is called on every request of a web session. This script, for example an ''index.php'', would handle all tasks that are common to the application or the framework, such as session handling, caching, and input filtering. Based on the specific request, it would then instantiate further objects and call methods to handle the particular task(s) required.
The alternative to a front controller would be individual scripts like ''login.php'' and ''order.php'' that would each then satisfy the type of request. Each script would have to duplicate code or objects that are common to all tasks. However, each script might also have more flexibility to implement the particular task required.
== Examples ==
Several web-tier application frameworks implement the Front Controller pattern, among them:
* MVC frameworks written in PHP. For example Yii, CakePHP, Laravel, Symfony, CodeIgniter and Zend Framework
* Drupal
* ASP.NET MVC.
* Spring Framework〔http://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html#mvc-servlet〕
* Cairngorm framework in Adobe Flex.
* Yesod web application framework written in Haskell.
* Apache Struts.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Front Controller pattern」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.